package routers

import "leading/api"

func (router RouterGroup) UserRouter() {
	userApi := api.ApiGroupApp.UserApi
	router.POST("/register", userApi.Register)
	router.POST("/login", userApi.Login)
	router.POST("/logout", userApi.Logout)
	router.POST("/test", userApi.Test)
}
